package net.shopxx.entity;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name="refundnote")
public class Refundnote extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Member member;
	private Refund refund;
	private String content;

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(nullable = false)
	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(nullable = false)
	public Refund getRefund() {
		return refund;
	}

	public void setRefund(Refund refund) {
		this.refund = refund;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}
